package STUDENT.NGUYENSANG.OOPs.EX2_BAI3_inheristance;
import java.util.Scanner;
public class InMH {
	static Scanner input=new Scanner(System.in);
	public static void main(String[] argns)
	{
		int c;
		System.out.println("\n+ Chon Loai"
				+ "\n 1: Con Nguoi"
				+ "\n 2: Cho");
		c=input.nextInt();
		switch(c)
		{
		case 1:
			ConNguoi CN=new ConNguoi();
			CN.Nhap();
			CN.Show();
			break;
		case 2:
			Cho C=new Cho();
			C.Nhap();
			C.Show1();
			break;
		}
	}
}
